const Layout = () => import("@/layout/index.vue");
import SerachTable from "../../views/table/manage/SerachTable.vue";

export default [
  {
    path: "/table",
    component: Layout,
    redirect: "/table/t_dxqm_t",  // 直接重定向到指定的页面
    name: "表管理",
    meta: { title: "表管理", icon: "user" },
    icon: "Document",
    children: [
      {
        path: ":tableName",  // 动态路由参数
        component: SerachTable,
        meta: {
          title: "表" // 必需加上title,否则出错
        }
      }
    ]
  }
];
